﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVCCentral.Framework.Logger
{
    public class LogEventArgs
    {
        private Exception _exception;
        private string _message;
        private string _source;
        private string _logType;

        public LogEventArgs(string source, string message, Exception ex)
        {
            this._exception = ex;
            this._message = message;
            this._source = source;
        }

        public string LogType
        {
            get { return _logType; }
            set { _logType = value; }
        }

        public string Source
        {
            get { return _source; }
            set { _source = value; }
        }

        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }

        public Exception Exception
        {
            get { return _exception; }
            set { _exception = value; }
        }
    }
}
